package com.lsh.payment.core.util.ftp;

import java.io.InputStream;
import java.io.Serializable;

/**
 * FTP
 * 
 * @author CMMOBI-张明
 * 
 */
public class FtpModel implements Serializable {

	/** */
	private static final long serialVersionUID = -7831943433985013087L;

	/** FTP IP */
	private String ftpIp;

	/** FTP 端口 */
	private Integer ftpPort;

	/** FTP 账号 */
	private String ftpUsername;

	/** FTP 密码 */
	private String ftpPassword;

	/** FTP 路径 */
	private String ftpPath;

	/** 文件名 */
	private String fileName;

	/** 文件流 */
	private InputStream input;

	public FtpModel(String ftpIp, Integer ftpPort, String ftpUsername, String ftpPassword, String ftpPath, String fileName, InputStream input) {
		this.ftpIp = ftpIp;
		this.ftpPort = ftpPort;
		this.ftpUsername = ftpUsername;
		this.ftpPassword = ftpPassword;
		this.ftpPath = ftpPath;
		this.fileName = fileName;
		this.input = input;
	}

	public String getFtpIp() {
		return ftpIp;
	}

	public void setFtpIp(String ftpIp) {
		this.ftpIp = ftpIp;
	}

	public Integer getFtpPort() {
		return ftpPort;
	}

	public void setFtpPort(Integer ftpPort) {
		this.ftpPort = ftpPort;
	}

	public String getFtpUsername() {
		return ftpUsername;
	}

	public void setFtpUsername(String ftpUsername) {
		this.ftpUsername = ftpUsername;
	}

	public String getFtpPassword() {
		return ftpPassword;
	}

	public void setFtpPassword(String ftpPassword) {
		this.ftpPassword = ftpPassword;
	}

	public String getFtpPath() {
		return ftpPath;
	}

	public void setFtpPath(String ftpPath) {
		this.ftpPath = ftpPath;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public InputStream getInput() {
		return input;
	}

	public void setInput(InputStream input) {
		this.input = input;
	}
}
